package com.wikimi.board.dao;

import java.util.List;
import java.util.Map;

import com.wikimi.domain.Board;
import com.wikimi.domain.Reply;

public interface BoardMapper {
	public List<Board> getAllBoardByPage(Map<String, Integer> map);
	public Board getBoardByNo(Integer no);
	public Integer getBoardTotal();
	public void addBoard(Board board);
	public void modifyBoard(Board board);
	public void removeBoard(Integer no);
	public void raiseLookup(Integer no);
	public void modifyNoParentBoard(Integer no);
	public void reorderBoard(Map<String, Integer> map);
	public void modifyBoardGroupNo(Map<String, Integer> map);
	public void addReply(Reply reply);
	public void removeReply(Integer no);
	public void raiseReplyCount(Integer no);
	public void lowerReplyCount(Integer no);
	public void removeAllReplies(Integer no);
	public List<Reply> getAllRepliesByRefNo(Integer ref_no);
	public Reply getReplyByNo(Integer no);
}